def get_user_info():
    name = "John"
    age = 30
    city = "New York"
    return name, age, city

# 调用函数并获取返回值
user_info = get_user_info()
print(user_info)  # 输出: ('John', 30, 'New York')

name, age, city = get_user_info()
print(name)  # 输出: John
print(age)   # 输出: 30
print(city)  # 输出: New York
